Skip to content

Conversation

@connorads
Copy link
Contributor

@connorads connorads commented Dec 27, 2025

Add skills/ to invalid OpenCode config directories list to prevent common plural naming mistake.

OpenCode uses singular directory names (skill/, agent/, command/, plugin/, tool/) for now.

Just in case people coming from other coding agents and miss the difference and get frustrated trying to get skills working. This will help them fail fast.

https://opencode.ai/docs/skills/

Testing

Before: no warning ❌

➜ opencode

After ✅

➜ bun dev 
$ bun run --cwd packages/opencode --conditions=browser src/index.ts
^[[I^[[I^[[IDirectory "skills" in /Users/connorads/git/opencode/packages/opencode/.opencode is not valid. Rename the directory to "skill" or remove it. This is a common typo.

@connorads connorads changed the title chore: update INVALID_DIRS to include 'skills' directory chore: update INVALID_DIRS to include plural 'skills' directory Dec 27, 2025
@connorads connorads marked this pull request as ready for review December 27, 2025 17:49
@rekram1-node rekram1-node merged commit 8a2f4dd into anomalyco:dev Dec 28, 2025
2 checks passed
anntnzrb pushed a commit to anntnzrb/opencode-1 that referenced this pull request Dec 29, 2025
v1truv1us pushed a commit to v1truv1us/opencode that referenced this pull request Dec 29, 2025
hk9890 pushed a commit to hk9890/opencode that referenced this pull request Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants